<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddApproveToThesisesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('thesises', function (Blueprint $table) {
            $table->boolean('description_approved')->default(false);
            $table->boolean('proposal_approved')->default(false);
            $table->boolean('paper_approved')->default(false);
            //
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('thesises', function (Blueprint $table) {
            $table->dropColumn('description_approved');
            $table->dropColumn('proposal_approved');
            $table->dropColumn('paper_approved');
            //
        });
    }
}
